package com.stu.day18.ReflexPractice.entity;

import com.stu.day18.ReflexPractice.Column;
import com.stu.day18.ReflexPractice.Entity;
import com.stu.day18.ReflexPractice.Id;
import com.stu.day18.ReflexPractice.Table;

import java.lang.annotation.*;

/**
 * @author zy
 * @date 2025/2/20 16:00
 */
@Entity
@Table(name = "t_person")
public class Person {
    @Id
    private Integer id;
    @Column(name = "personname", nullable = false)
    private String name;
    private int age;
}
